/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package HoaDon;

/**
 *
 * @author Tuan
 */
public class HoaDon {
  private int Count;  
  private HoaDon Hoadon[];

    public HoaDon(int Count, HoaDon[] Hoadon) {
        this.Count = Count;
        this.Hoadon = Hoadon;
    }

//Setter
    public void setCount(int Count) {
        this.Count = Count;
    }

    public void setHoadon(HoaDon[] Hoadon) {
        this.Hoadon = Hoadon;
    }

//getter
    public int getCount() {
        return Count;
    }

    public HoaDon[] getHoadon() {
        return Hoadon;
    }
    
//Method
  public void Add(HoaDon Hoadon){
      setCount(Count+1);
      this.Hoadon[Count]=Hoadon;
  }
}
